<?php

/**
 * 
 */
class Controller 
{
	public $data=[];
	public function display()
	{

		extract($this->data);
		
		include  VIEW_PATH.'/'.strtolower(CONTROLLER_NAME).'/'.strtolower(ACTION_NAME).'.html';

	}

	public function assign($key,$value)
	{
		$this->data[$key] = $value;
	}
}
